package com.sunyard.pcc.core.manager;

import com.sunyard.michiru.common.entity.PageResult;
import com.sunyard.pcc.dal.model.SysLogDO;
import com.sunyard.pcc.dal.query.SysLogQuery;

import java.util.List;

/**
 * Manager for SysLog.
 */
public interface SysLogManager {

    /**
     * query count by query condition.
     */
    int countByQuery(SysLogQuery query);

    /**
     * delete by query condition.
     */
    int deleteByQuery(SysLogQuery query);

    /**
     * delete by primary key.
     */
    int deleteByPrimaryKey(SysLogDO record);

    /**
     * insert selective.
     */
    long insertSelective(SysLogDO record);

    /**
     * select by query condition.
     */
    List<SysLogDO> selectByQuery(SysLogQuery query);


    /**
     * select by query condition with page.
     */
    PageResult<SysLogDO> selectByQueryWithPage(SysLogQuery query);

    /**
     * select by primary key.
     */
    SysLogDO selectByPrimaryKey(Long id);

    /**
     * update by query condition selective.
     */
    int updateByQuerySelective( SysLogDO record,  SysLogQuery query);

    /**
     * update by query condition.
     */
    int updateByQuery(SysLogDO record, SysLogQuery query);

    /**
     * update by primary key selective.
     */
    int updateByPrimaryKeySelective(SysLogDO record);

}